package de.lulusoft.anothertorrent.core.xmlrpc;

import java.util.TimeZone;

import org.apache.xmlrpc.client.XmlRpcClientConfig;
import org.apache.xmlrpc.common.XmlRpcStreamRequestConfig;

public class XmlRpcSocketClientConfig implements XmlRpcClientConfig, XmlRpcStreamRequestConfig{

	private boolean enabledForExtensions;
	private TimeZone timeZone = TimeZone.getDefault();
	
	private String m_host;
	private int m_port;

	@Override
	public TimeZone getTimeZone() {
		return timeZone;
	}

	@Override
	public boolean isEnabledForExtensions() {
		return enabledForExtensions;
	}

	public String getHost() {
		return m_host;
	}

	public void setHost(String m_host) {
		this.m_host = m_host;
	}

	public int getPort() {
		return m_port;
	}

	public void setPort(int m_port) {
		this.m_port = m_port;
	}

	@Override
	public boolean isEnabledForExceptions() {
		return false;
	}

	@Override
	public boolean isGzipCompressing() {
		return false;
	}

	@Override
	public boolean isGzipRequesting() {
		return false;
	}

	@Override
	public String getEncoding() {
		return null;
	}
}
